package com.huatai.manage.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 模板表;
 * </p>
 *
 * @author luoxc
 * @since 2023-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TbSchemeManage对象", description="模板表;")
public class TbTrialSchemeVo implements Serializable {

	@ApiModelProperty(value = "主键id")
	private String schemeId;

    @ApiModelProperty(value = "方案id")
    private String id;

	@ApiModelProperty(value = "试验id")
	private String trialId;

	@ApiModelProperty(value = "试验名称")
	private String trialName;

	@ApiModelProperty(value = "试验类型")
	private String trialType;

    @ApiModelProperty(value = "方案名称")
    private String name;

    @ApiModelProperty(value = "方案说明")
    private String description;

    @ApiModelProperty(value = "更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUpdateAt;

	@ApiModelProperty(value = "倍率")
	private String scale;

	@ApiModelProperty(value = "母版宽高")
	private Object size;

    @ApiModelProperty(value = "方案组件")
    private Object components;

    @ApiModelProperty(value = "状态")
    private String state = "1";

	@ApiModelProperty(value = "说明")
	private String remark;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime updateTime;

}
